package mysql

import "gorm.io/gorm"

type Person struct {
	gorm.Model
	Name   string `gorm:"type:varchar(30);not null;comment:姓名"`
	Marry  string `gorm:"type:varchar(30);not null;comment:是否婚配"`
	Img    string `gorm:"type:varchar(500);not null;comment:身份证上传"`
	Idcard string `gorm:"char(18);not null;comment:证件号码"`
	Sex    string `gorm:"type:varchar(30);not null;comment:性别"`
	Time   string `gorm:"type:datetime;not null;comment:出生日期"`
	Tel    string `gorm:"type:char(11);not null;comment:手机号码"`
}
